
<%@ page import="com.surelution.projects.crm.CardConsumeRaw" %>
<%@ page import="com.surelution.projects.crm.MemberCard" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'cardConsumeRaw.label', default: 'CardConsumeRaw')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="show" action="show" controller="market" id="${MemberCard.findByCardNo(cardConsumeRawInstance.cardNo)?.market?.id}" >返回客户详情</g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.accountAcceptBranch.label" default="Account Accept Branch" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "accountAcceptBranch")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.amount.label" default="Amount" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "amount")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.businessDate.label" default="Business Date" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "businessDate")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.cardNo.label" default="Card No" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "cardNo")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.discount.label" default="Discount" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "discount")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.goodsType.label" default="Goods Type" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "goodsType")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.grayTrade.label" default="Gray Trade" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "grayTrade")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.holderName.label" default="Holder Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "holderName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.preTrandeBalance.label" default="Pre Trande Balance" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "preTrandeBalance")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.tradeAt.label" default="Trade At" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "tradeAt")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.tradeDate.label" default="Trade Date" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "tradeDate")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.tradeTime.label" default="Trade Time" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "tradeTime")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.tradeType.label" default="Trade Type" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "tradeType")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.vehicleNo.label" default="Vehicle No" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "vehicleNo")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="cardConsumeRaw.volume.label" default="Volume" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: cardConsumeRawInstance, field: "volume")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
        </div>
    </body>
</html>
